# $Id: PKGBUILD 171596 2012-11-19 15:02:56Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Marios Abatis <marios.archlinux ατ gmail δοτ com>

pkgname=chemical-mime-data
pkgver=0.1.94
pkgrel=6
pkgdesc="Collection of data files to add support for various chemical MIME types"
arch=('any')
url="http://chemical-mime.sourceforge.net/"
license=('LGPL')
depends=('xdg-utils' 'gnome-mime-data' 'hicolor-icon-theme')
makedepends=('intltool' 'libxslt' 'imagemagick' 'librsvg')
install=$pkgname.install
source=("http://downloads.sourceforge.net/chemical-mime/${pkgname}-${pkgver}.tar.gz")
md5sums=('ca54b5fbd7f43ee5380e394bfd273b95')

build() {
    cd $pkgname-$pkgver
    ./configure --prefix=/usr \
      --disable-update-database
    make
}

package() {
    cd $pkgname-$pkgver
    make DESTDIR="${pkgdir}" install
}
